/*****************************************************************************
 * Copyright (C) Stacy Curl. All rights reserved.                            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *****************************************************************************/
package picounit.impl;

import picounit.Marker;
import picounit.annotation.Test;
import previous.picounit.TestCase;

public class AnnotationMarkerTest extends TestCase {
	@Test
	public static class AnnotatedTest {
	}
	
	public static class UnannotatedTest {
	}
	
	private final Marker annotationMarker = Test.MARKER;
	
	public void shouldMatchAnnotatedClasses() {
		assertTrue(annotationMarker.matches(AnnotatedTest.class));
	}

	public void shouldNotMatchUnannotatedClasses() {
		assertFalse(annotationMarker.matches(UnannotatedTest.class));
	}
}
